package com.dragon.unionfind;

/**
 * @author dragon
 * @version V1.0.0-RELEASE
 * @date 2019/5/25 11:44
 */
public interface UF {

    int getSize();

    boolean isConnected(int p, int q);

    void unionElements(int p, int q);
}
